package com.zmn.oms.persistence.interfaces.orderappbind;

import com.zmn.oms.model.entity.orderappbind.OrderThirdAppBind;
import org.apache.ibatis.annotations.Param;


/**
 * 类描述：
 *
 * @author yule
 * @date 2020/12/25 13:16
 */
public interface OrderThirdAppBindDao {

    /**
     * 新增或修改
     *
     * @param orderThirdAppBind
     * @return
     */
    int insert(OrderThirdAppBind orderThirdAppBind);

    /**
     * 通过订单ID和平台查询
     *
     * @param orderId
     * @param platWork
     * @return
     */
    OrderThirdAppBind findByOrderIdAndPlat(@Param("orderId") Long orderId, @Param("platWork") Integer platWork);

}
